-
Notifications
You must be signed in to change notification settings - Fork 144
docs: bump all documentation dependencies #1325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Are you planning on dropping hoverxref in this or in a separate PR? |
Planning to drop hoverxref on another PR. This one is also blocked by needing to figure out pyright 3.8-3.10 overrides |
2dec816
to
09d338d
Compare
4857b3b
to
ae1143c
Compare
ea89f22
to
47f9903
Compare
47f9903
to
949ec12
Compare
949ec12
to
3a24064
Compare
Looks good overall! A couple things:
|
A couple more things I noticed:
(also, thanks for including links to all the changelogs <3) |
this is by no means perfect; long story short, sphinx changed the search scorer algorithm to actually take the configured `title` score (15) into account for matching titles, instead of a fixed 100. This, in turn, meant that any and all page matches would now be ranked at the bottom, since the custom search scorer inflates the score of all `disnake.*` objects to a score right below 100. To resolve this, the scorer now assigns these API results a score of 14-15, i.e. right below pages with matching titles again. API results with a longer or later submatch continue to receive a higher score penalty, and are therefore closer to 14 rather than 15.
What Changed
Bump all documentation dependencies, restrict them to python 3.11, bump the entire documentation to 3.11 too.
Changelogs
23.6.0
->25.8.0
Deprecations
sphinx-hoverxref uses some interfaces removed in sphinx 9.0. However, sphinx-hoverxref is it itself deprecated, so we should drop it anyhow.
Depends on
#1341, which limits docs to only being typechecked on the version it runs on.